.class public Lcom/waiqin365/lightapp/visit/VisitPlanActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field private a:Landroid/widget/ImageView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

.field private e:Lcom/waiqin365/lightapp/visit/b/bn;

.field private f:Lcom/waiqin365/lightapp/visit/b/bm;

.field private g:Ljava/lang/String;

.field private h:Landroid/os/Handler;

.field private i:Lcom/waiqin365/compons/view/c;

.field private j:Ljava/lang/String;

.field private k:Ljava/lang/String;

.field private l:Ljava/lang/String;

.field private m:Ljava/lang/String;

.field private n:Ljava/lang/String;

.field private o:Ljava/lang/String;

.field private p:I

.field private q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

.field private r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

.field private s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

.field private t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

.field private u:Lcom/waiqin365/compons/view/c;

.field private v:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->p:I

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->v:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)Lcom/waiqin365/compons/view/c;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    return-object v0
.end method

.method private a()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/visit/hb;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/hb;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->h:Landroid/os/Handler;

    return-void
.end method

.method private a(Landroid/content/Intent;)V
    .locals 4

    const/16 v3, 0x67

    const/4 v2, -0x1

    const-string/jumbo v0, "visitmanager"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    if-eqz p1, :cond_0

    invoke-virtual {p0, v3, p1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->setResult(ILandroid/content/Intent;)V

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->back()V

    return-void

    :cond_0
    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->setResult(I)V

    goto :goto_0

    :cond_1
    if-eqz p1, :cond_2

    invoke-virtual {p0, v2, p1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->setResult(ILandroid/content/Intent;)V

    goto :goto_0

    :cond_2
    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->setResult(I)V

    goto :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;Landroid/content/Intent;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a(Landroid/content/Intent;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 6

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0806b1

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->b:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/gz;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/gz;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V

    move-object v1, p0

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)Lcom/waiqin365/lightapp/visit/b/bm;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    return-object v0
.end method

.method private b()V
    .locals 4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "from"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v1

    const-string/jumbo v2, "visitmanager"

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    const-string/jumbo v0, "visitPlanInfo"

    invoke-virtual {v1, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/visit/b/bn;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    :goto_0
    return-void

    :cond_0
    new-instance v1, Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-direct {v1}, Lcom/waiqin365/lightapp/visit/b/bn;-><init>()V

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    const-string/jumbo v2, "customerInfo"

    invoke-virtual {v0, v2}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/visit/b/bn;->a(Lcom/waiqin365/lightapp/kehu/b/am;)V

    goto :goto_0
.end method

.method private b(Ljava/lang/String;)V
    .locals 6

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0806b1

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/ha;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/ha;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V

    move-object v1, p0

    move-object v3, p1

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->i:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    return-void
.end method

.method private c()V
    .locals 5

    const/4 v3, 0x0

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setCmCustomerInfo(Lcom/waiqin365/lightapp/kehu/b/am;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->c(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setMustinput(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->b(Landroid/content/Context;)Ljava/util/HashMap;

    move-result-object v0

    const-string/jumbo v1, "bfgl"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    if-eqz v0, :cond_0

    const-string/jumbo v1, "max_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->j:Ljava/lang/String;

    const-string/jumbo v1, "max_width"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->k:Ljava/lang/String;

    const-string/jumbo v1, "is_can_select_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->l:Ljava/lang/String;

    const-string/jumbo v1, "is_need_photo"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->m:Ljava/lang/String;

    const-string/jumbo v1, "visit_position_error"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    iput-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->n:Ljava/lang/String;

    const-string/jumbo v1, "is_has_mark_cus_op"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->o:Ljava/lang/String;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->j:Ljava/lang/String;

    if-eqz v0, :cond_1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->j:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->p:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->p:I

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setMaxPic(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->k:Ljava/lang/String;

    if-eqz v0, :cond_2

    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->k:Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPwidth(I)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2

    :cond_2
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->l:Ljava/lang/String;

    if-eqz v0, :cond_4

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->l:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    :goto_2
    const-string/jumbo v0, "visitmanager"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f080850

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f08084e

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const v1, 0x7f080650

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setTitle(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bn;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setContent(Ljava/lang/String;)V

    :goto_4
    const-wide v0, 0x409f400000000000L    # 2000.0

    :try_start_2
    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->n:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    move-result-wide v0

    :goto_5
    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2, v0, v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->setErrorPositionOffset(D)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->setShowPositonOffset(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v1, v0

    const/4 v2, 0x2

    if-ne v1, v2, :cond_3

    aget-object v1, v0, v3

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->f(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    aget-object v1, v0, v4

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/k;->f(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    new-instance v1, Lcom/waiqin365/compons/c/f;

    invoke-direct {v1}, Lcom/waiqin365/compons/c/f;-><init>()V

    aget-object v2, v0, v3

    invoke-static {v2}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/compons/c/f;->a(D)V

    aget-object v0, v0, v4

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Lcom/waiqin365/compons/c/f;->b(D)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->setTargetLocation(Lcom/waiqin365/compons/c/f;)V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f0804cb

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v1, 0x7f080337

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const-string/jumbo v1, "1"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->setMustinput(Ljava/lang/String;)V

    return-void

    :catch_0
    move-exception v0

    const/4 v0, 0x5

    iput v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->p:I

    goto/16 :goto_0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setAllowSelect(Z)V

    goto/16 :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_3

    :cond_6
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f080851

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    goto/16 :goto_4

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "title"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_4

    :catch_1
    move-exception v2

    goto/16 :goto_5

    :catch_2
    move-exception v0

    goto/16 :goto_1
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    return-object v0
.end method

.method private d()V
    .locals 7

    const/4 v6, 0x0

    new-instance v0, Lcom/waiqin365/compons/view/c;

    const-string/jumbo v2, ""

    const v1, 0x7f080830

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/visit/gy;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/visit/gy;-><init>(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->u:Lcom/waiqin365/compons/view/c;

    const v0, 0x7f0c0c4f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0c51

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b:Landroid/widget/TextView;

    const v0, 0x7f0c0c52

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->c:Landroid/widget/TextView;

    const v1, 0x7f08084d

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0ae3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    const v0, 0x7f0c0c66

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const v0, 0x7f0c01e7

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->c(Z)V

    const v0, 0x7f0c0c67

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    const v0, 0x7f0c0c68

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f080018

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setLabel(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "visitmanager"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f08084e

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomLineStatus(Z)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCustomerName(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setCmLocation(Ljava/lang/String;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    const v1, 0x7f080851

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->setPhotoType(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->r:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->q:Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/view/CustomerSelectView_Vertical;->setBottomLineStatus(Z)V

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    return-object v0
.end method

.method private e()Z
    .locals 4

    const/4 v0, 0x0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const v1, 0x7f080338

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a(Ljava/lang/String;)V

    :goto_0
    return v0

    :cond_0
    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->m:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->y()I

    move-result v1

    if-nez v1, :cond_1

    const v1, 0x7f0807b5

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    invoke-static {}, Lcom/waiqin365/compons/c/a;->a()Lcom/waiqin365/compons/c/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/compons/c/a;->a(Landroid/content/Context;)Ljava/util/ArrayList;

    move-result-object v2

    if-eqz v2, :cond_5

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_5

    move v1, v0

    :goto_1
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/c/b;

    iget v3, v0, Lcom/waiqin365/compons/c/b;->a:I

    if-ltz v3, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, v0, Lcom/waiqin365/compons/c/b;->a:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bm;->o:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v2, v0, Lcom/waiqin365/compons/c/b;->b:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bm;->p:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, v0, Lcom/waiqin365/compons/c/b;->d:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bm;->q:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v2, v0, Lcom/waiqin365/compons/c/b;->c:Ljava/lang/String;

    iput-object v2, v1, Lcom/waiqin365/lightapp/visit/b/bm;->r:Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v0, v0, Lcom/waiqin365/compons/c/b;->e:Ljava/lang/String;

    iput-object v0, v1, Lcom/waiqin365/lightapp/visit/b/bm;->s:Ljava/lang/String;

    :cond_2
    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "Android "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    sget-object v2, Landroid/os/Build$VERSION;->RELEASE:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->t:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v1

    invoke-virtual {v1}, Lcom/fiberhome/gaea/client/c/b;->q()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->u:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->q()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->n:Ljava/lang/String;

    const-string/jumbo v0, "visitmanager"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->a:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/b/bn;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->c:Ljava/lang/String;

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->b:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->e:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->f:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    invoke-virtual {v1, p0}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, "1"

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->h:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v2

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->i:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->e()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->j:Ljava/lang/String;

    new-instance v0, Ljava/text/DecimalFormat;

    const-string/jumbo v1, "#.##"

    invoke-direct {v0, v1}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->h()D

    move-result-wide v2

    invoke-virtual {v0, v2, v3}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v0

    iput-object v0, v1, Lcom/waiqin365/lightapp/visit/b/bm;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->v:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->v:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->w:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->w:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->y:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->x:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->z:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->y:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/compons/c/f;->x:Ljava/lang/String;

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->z:Ljava/lang/String;

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, "0"

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->m:Ljava/lang/String;

    const/4 v0, 0x1

    goto/16 :goto_0

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_1

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->p:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->q:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->r:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, ""

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->s:Ljava/lang/String;

    goto/16 :goto_2

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    const-string/jumbo v1, "2"

    iput-object v1, v0, Lcom/waiqin365/lightapp/visit/b/bm;->a:Ljava/lang/String;

    goto/16 :goto_3
.end method

.method private f()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/b/bm;->l:Ljava/lang/String;

    const-string/jumbo v1, "1"

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/String;->valueOf(D)Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/base/db/offlinedata/d;->b(Ljava/lang/String;Ljava/lang/String;)Z

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v1

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v2, v2, Lcom/waiqin365/lightapp/visit/b/bm;->j:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Lcom/waiqin365/base/db/offlinedata/d;->c(Ljava/lang/String;Ljava/lang/String;)Z

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/VisitPlanActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f()V

    return-void
.end method

.method private g()V
    .locals 4

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/visit/a/a/ba;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->v:Ljava/lang/String;

    invoke-direct {v1, v0, v2, v3}, Lcom/waiqin365/lightapp/visit/a/a/ba;-><init>(Ljava/lang/String;Lcom/waiqin365/lightapp/visit/b/bm;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/visit/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->h:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/visit/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/visit/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/b;->start()V

    return-void
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->t:Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/MultilineTextView_Vertical;->d()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d:Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/ImagePreview_Vertical;->o()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->u:Lcom/waiqin365/compons/view/c;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    :goto_0
    return-void

    :cond_1
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a(Landroid/content/Intent;)V

    goto :goto_0
.end method


# virtual methods
.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->h()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    :pswitch_0
    return-void

    :pswitch_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->h()V

    goto :goto_0

    :pswitch_2
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->g()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->s:Lcom/waiqin365/lightapp/view/LocationView_Vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/LocationView_Vertical;->f()Lcom/waiqin365/compons/c/f;

    move-result-object v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "1"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    const v0, 0x7f0800c1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->e:Lcom/waiqin365/lightapp/visit/b/bn;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/visit/b/bn;->a()Lcom/waiqin365/lightapp/kehu/b/am;

    move-result-object v3

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b(Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->g()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0c4f
        :pswitch_1
        :pswitch_0
        :pswitch_0
        :pswitch_2
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f030287

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->a()V

    new-instance v0, Lcom/waiqin365/lightapp/visit/b/bm;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/visit/b/bm;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->f:Lcom/waiqin365/lightapp/visit/b/bm;

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->d()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/VisitPlanActivity;->c()V

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->d(Landroid/content/Context;)V

    return-void
.end method
